package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * @author ：zfr
 * @date ：2021/12/24 17:40
 */
@FieldTypeAnnotation(tableName = "t_l_ck_cricket_equip", desc = "蛐蛐装备/卸下", autoSave = true, uploadCk = true)
public class LogCricketEquip extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;
    @FieldTypeAnnotation(desc = "蛐蛐id")
    private int cricketId;
    @FieldTypeAnnotation(desc = "是否装备")
    private boolean isEquip;
    @FieldTypeAnnotation(desc = "消耗")
    private String cost;

    public LogCricketEquip(long userId, int patronsId, int cricketId, boolean isEquip, String cost) {
        this.userId = userId;
        this.patronsId = patronsId;
        this.cricketId = cricketId;
        this.isEquip = isEquip;
        this.cost = cost;
    }

    public long getUserId() {
        return userId;
    }

}
